define(function () {
    return {
        rules: {
            name: {
                required: true,
                nameCheck: true
            },
            enabled: {
                required: true
            }
        },
        messages: {
            name: {
                required: $.i18n.prop('VALIDATE_REQUIRED', $.i18n.prop('GROUP_NAME'))
            },
            enabled: {
                required: $.i18n.prop('VALIDATE_REQUIRED', $.i18n.prop('NOTIFY_GROUP_DISABLE'))
            }
        }
    }
});